<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>LMS</title>
</head>
<body>
<form name="LoginFOrm" action="/LMS/LoginServlet" method="post">
<%
	if(request.getAttribute("error") !=null && !request.getAttribute("error").equals("") ){
%>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="650" align="center">
	<tr bgcolor="#aaaaaa">
		<td align="center">

		<table cellspacing="1" cellpadding="4" border="0" width="650">
			<tr>
				<td bgcolor="#004080" align="center" colspan=""><font
					face="Arial" size="3" color="RED" style="font-size: 15px;">
				<b> ERROR : <%=request.getAttribute("error") %></b> </font></td>
			</tr>

			<tr>
				<td bgcolor="#ececec" align="center"><font face="Verdana"
					size="5" style="font-size: 20px; "> <marquee><font color="blue">There was a problem in last operation</font></marquee> </font></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<%} %>
<br><br><br><br><br><br><br><br><br><br><br><br>
 <table border="0" cellpadding="0" cellspacing="0" width="200" align="center">
		<tr bgcolor="#aaaaaa">
			<td align="center">
			<table cellspacing="1" cellpadding="4" border="0" width="300">
				<tr>
					<td bgcolor="#004080" align="center" colspan="2"><font
						face="Arial" size="3" color="white" style="font-size: 15px;">
					<b>Login Entry</b> </font></td>
				</tr>
				<tr bgcolor="#cccccc">
					<td width="900"><font face="Verdana" size="2"
						style="font-size: 18px;"> <b>UserName</b> </font></td>
					<td width="490"><input type="text" name="userid" size="30"
						style="font-size: 18px; font-family: Verdana"></td>
				</tr>
				<tr bgcolor="#ececec">
					<td><font face="Verdana" size="2" style="font-size: 18px;">
					<b>Password</b> </font></td>
					<td><input type="password" name="password" size="30" maxlength="15"
						style="font-size: 18px; font-family: Verdana"></td>
				</tr>
				<tr bgcolor="#ececec">
					<td colspan="2" align="center"><input type="Submit"
						value="Login" style="font-size: 15px; font-family: Verdana">
					</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</form>
</body>
</html>